From f9aa19ee3ae6f1331da86a543436dc7b250e9c36 Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Wed, 19 Mar 2008 14:12:12 +0000 Subject: [PATCH] tapaio build fix With some combinations of compiler flags (no optimization, -Werror), the compiler may complain that the function doesn't have a return statement (even if the function actually just never returns), reported as bug 1128. This adds a dummy return statement. Signed-off-by: Samuel Thibault --- tools/blktap/drivers/tapaio.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/blktap/drivers/tapaio.c b/tools/blktap/drivers/tapaio.c index 9eb4713802..140c44a7d1 100644 --- a/tools/blktap/drivers/tapaio.c +++ b/tools/blktap/drivers/tapaio.c @@ -82,6 +82,7 @@ tap_aio_completion_thread(void *arg) } } while (!rc); } + return NULL; } void -- 2.30.2